home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / basic / basic2 / readme
Encoding:
Text File  |  1994-10-24  |  2.2 KB  |  51 lines

  1. BASIC (an Interpreter)
  2. ----------------------
  3.  
  4. This directory contains the source of my BASIC interpreter. 
  5. It was originally started when I was a student as a 2ndyr project, I
  6. continued to work on it afterwards every once in a while, putting
  7. various extra facilities into it as I went along. 
  8. The interpreter is based on a combination of Microsoft level 5 basic and
  9. and RT11's MU-Basic with a smattering of Basic Plus in there for good
  10. measure. The rational behind this was that these were the versions I
  11. first learned to program in (many years ago). There are some parts of
  12. the system I would redo again (especially the file handling - which is
  13. only just workable) but I don't have the time. I'm sure the
  14. documentation does not have all the latest facilities in but most of
  15. them can be worked out from the source code.
  16.  
  17. This code is being put in the Public Domain since I will soon loose
  18. network connectivity (I am leaving my job) and I don't particularly want
  19. to sell it. This system does not contain any proprietary software. All
  20. the algorithms are original or come from publicly available sources.
  21.  
  22. There are no licensing restrictions on this code or documentation at
  23. all. I only ask that you give appropriate credit to the author.
  24.  
  25. Building the system
  26. -------------------
  27.  
  28. This system has been built and tested on a Vax running 4.2 (4.1) on a
  29. pdp11 (with and without floating point hardware ) running V6 V7 BSD 2.8 and
  30. BSD 2.9, a pyramid 98X and on a unisoft 68000 (V7) system. With
  31. appropriate convertion of the terminal handling routines (about 20 lines
  32. of code) it should run on System V systems as well.
  33.  
  34. The system dependent code has been extracted and placed in relevent
  35. subdirectories. Follow one of the current systems for conversion guidance.
  36. The only nasty is that it assumes (in print()) that ints and structure
  37. pointers are the same size. This can be fixed but I don't want to do it.
  38. (It also assumes that all pointer types are the same size which I
  39. wouldn't like to have to fix)
  40.  
  41. To compile the system use the "gen" shell script which will do all the
  42. work.
  43.  
  44. You may want to sort out the terminal handling/editing routines as
  45. well.
  46.  
  47. Have fun.
  48.  
  49. Phil Cockcroft  Fall, 86
  50. ------------------------
  51.